<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/TGB.Master" CodeBehind="FrmBancoABM.aspx.vb" Inherits="TGB.FrmBancoABM" 
    title="Administracion de Bancos" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="DIV1" style="width: 99%; height: 18px; text-align: left; background-color: #ccccff;" >
    
        <asp:Label ID="LblTitulo" runat="server" CssClass="titulo" Text="Administracion de Bancos" Font-Underline="False" Height="8px" Width="208px" Font-Names="Calibri"></asp:Label>
        </div><hr style="width: 800px" /> 
    <div style="width: 99%; height: 133px; text-align: center; background-color: #efefef; vertical-align: middle;" id="DIV2">
        <br />
    <table class="tabla" style="width: 696px; height: 80px; text-align: center;" >
        <tr>
            <td align="right" style="width: 5%; height: 14px;">
                <asp:Label ID="LblDenominacion" runat="server" Text="Denominacion" Font-Bold="True"></asp:Label></td>
            <td style="width: 22%; height: 14px;" align="left" >
                <asp:TextBox ID="TxtBanco" runat="server" CssClass="campotxt" MaxLength="50" Width="488px"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" style="width: 5%; height: 20px;">
                <asp:Label ID="Label2" runat="server" Text="Tipo Imputacion" Font-Bold="True"></asp:Label></td>
            <td style="width: 22%; height: 20px;" align="left" ><asp:DropDownList ID="CboImputacion" runat="server" CssClass="campotxt" Width="136px" AppendDataBoundItems="True">
                <asp:ListItem Value="-1">Ninguno</asp:ListItem>
            </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="right" style="width: 5%; height: 20px">
                </td>
            <td align="left" style="width: 22%; height: 20px">
                <asp:Label ID="LblError" runat="server" Font-Bold="True" Font-Names="Calibri" Font-Size="12px"
                    ForeColor="Red" Width="424px" CssClass="LebelError"></asp:Label></td>
        </tr>
        <tr>
            <td align="right" style="width: 5%; height: 20px;">
                </td>
            <td style="width: 22%; height: 20px;" align="left" >
                <asp:HiddenField ID="HFBanco" runat="server" />
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2" style="height: 21px">
                <asp:LinkButton ID="LinkGuardar" runat="server" CssClass="BotonLink">Guardar</asp:LinkButton> /
                <asp:LinkButton ID="LinkEliminar" runat="server" CssClass="BotonLink">Eliminar</asp:LinkButton> /
                <asp:LinkButton ID="LinkBuscar" runat="server" CssClass="BotonLink">Buscar</asp:LinkButton> /
                <asp:LinkButton ID="LinkCancelar" runat="server" CssClass="BotonLink">Cancelar</asp:LinkButton>
            
            </td>
        </tr>
        
    </table>
        </div>
    <hr />
    <div style="width: 100%; height: 100%; background-color: #efefef">
        <asp:GridView ID="GridBanco" runat="server" AllowPaging="True" AllowSorting="True"
            AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC"
            BorderWidth="1px" CellPadding="4" CssClass="tabla"
            ForeColor="Black" GridLines="Horizontal" Style=" width :100%; text-align: center;" Width="3016px" BorderStyle="None" CellSpacing="1" PageSize="15">
            <PagerSettings PageButtonCount="25" />
            <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
            <Columns>
                <asp:TemplateField>
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        &nbsp;<asp:LinkButton ID="LinkSeleccionar" runat="server" CommandName="Select">Ver</asp:LinkButton>
                        <asp:HiddenField ID="HFCodigoBanco" runat="server" Value='<%# bind("CodigoBanco") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Denominacion">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Denominacion") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="LblDenominacion" runat="server" Text='<%# Bind("Denominacion") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Tipo de Imputacion">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("Descripcion") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        &nbsp;<asp:HiddenField ID="HFImputacion" runat="server" Value='<%# Bind("CodigoImputacion") %>' />
                        <asp:Label ID="LblDescripcion" runat="server" Text='<%# Bind("Descripcion") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <SelectedRowStyle BackColor="#CC3333" ForeColor="White" Font-Bold="True" />
            <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
        </asp:GridView>
    </div>
</asp:Content>
